from django.http import HttpResponse


def bad_request(request):
    return HttpResponse('Bad request, code 400', status=400)


def permission_denied(request):
    return HttpResponse('Permission denied, code 403', status=403)


def not_found(request):
    return HttpResponse('Not found, code 404', status=404)


def server_error(request):
    return HttpResponse('Server error, code 500', status=500)
